const TokenKey = 'RH-Toilet-Token'
const apiUserKey = 'apiUser'

export function getToken() {
  return uni.getStorageSync(TokenKey)
}

export function setToken(token) {
  return uni.setStorageSync(TokenKey, token)
}

export function removeToken() {
  return uni.removeStorageSync(TokenKey)
}


export function getApiUser() {
  return uni.getStorageSync(apiUserKey)
}

export function setApiUser(apiUser) {
  return uni.setStorageSync(apiUserKey, apiUser)
}

export function removeApiUser() {
  return uni.removeStorageSync(apiUserKey)
}
